package com.foreknow.demo11;

import java.util.Scanner;

public class Test4 {

    public void m1(Integer i){
        int a = i.intValue()+1;
        System.out.println(a);
    }

    public static void main(String[] args) {
//        Scanner input = new Scanner(System.in);
//        System.out.println("请输入a的值");
//        String a = input.next();
//        System.out.println("请输入b的值");
//        String b = input.next();

        Test4 test4 = new Test4();
        test4.m1(1);
    }
}
